<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{finTransTmd02FromSubOrgDetailBean.id}"/>
		<f:event type="preRenderView" listener="#{finTransTmd02FromSubOrgDetailBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Fin Trans Tmd 02From Sub Org Detail"/>

	<ui:define name="header">
		Fin Trans Tmd 02From Sub Org Detail
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty finTransTmd02FromSubOrgDetailBean.id}">
				Edit existing Fin Trans Tmd 02From Sub Org Detail
			</c:when>
			<c:otherwise>
				Create a new Fin Trans Tmd 02From Sub Org Detail
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFinTransTmd02FromSubOrg" value="Fin Trans Tmd 02From Sub Org:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{finTransTmd02FromSubOrgBean.converter}" id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFinTransTmd02FromSubOrg" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.finTransTmd02FromSubOrg}">
						<f:selectItem/>
						<f:selectItems value="#{finTransTmd02FromSubOrgBean.all}"/>
					</h:selectOneMenu>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFinTransTmd02FromSubOrg" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailAccNo" value="Acc No:"/>
				<h:panelGroup>
					<h:inputText id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailAccNo" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.accNo}"/>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailAccNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFlagDrCr" value="Flag Dr Cr:"/>
				<h:panelGroup>
					<h:inputText id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFlagDrCr" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.flagDrCr}"/>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailFlagDrCr" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtDr" value="Jn Amt Dr:"/>
				<h:panelGroup>
					<h:inputText id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtDr" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.jnAmtDr}"/>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtDr" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtCr" value="Jn Amt Cr:"/>
				<h:panelGroup>
					<h:inputText id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtCr" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.jnAmtCr}"/>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailJnAmtCr" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailStatusPosted" value="Status Posted:"/>
				<h:panelGroup>
					<h:inputText id="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailStatusPosted" value="#{finTransTmd02FromSubOrgDetailBean.finTransTmd02FromSubOrgDetail.statusPosted}"/>
					<h:message for="finTransTmd02FromSubOrgDetailBeanFinTransTmd02FromSubOrgDetailStatusPosted" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{finTransTmd02FromSubOrgDetailBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty finTransTmd02FromSubOrgDetailBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{finTransTmd02FromSubOrgDetailBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{finTransTmd02FromSubOrgDetailBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>